package com.dabaozhan.modules.wx_app.dao;

import com.dabaozhan.modules.wx_app.entity.AccountLogEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author houzhong
 * @date 2018-12-26 11:08
 *
 * 日志明细
 */
@Mapper
public interface AccountLogMapper extends BaseMapper<AccountLogEntity> {
    /**
     * 查询总数
     */
    public int findByAccountLogCount(AccountLogEntity accountLog);

    /**
     * 查询方法
     * @param page
     * @param size
     * @return
     */
    public List<AccountLogEntity> findByAccountLog(AccountLogEntity accountLog, Integer page, Integer size);
}
